<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <title>绝对定位</title>
    <link href="../../css/hcss/absolute.css" rel="stylesheet" type="text/css">
</head>

<body>
    <div style="background-color:blanchedalmond;">
        <p>控制1：包含元素（包括父级，祖先元素）的position都为static</p>
        <div style="background-color:#d7e3fa;">
            <p>haha</p>
            <h2 class="pos_abs">这是带有绝对定位的标题</h2>
        </div>
        <div>
            <p>hello world</p>
        </div>
    </div>

</body>

</html>